﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Management.Systeam.Domaina
{
    public class Resources: BaseEntity
    {

        //自增
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]//数据库是自增才配自增 
        public int? Menu_Id { get; set; }
        /// <summary>
        ///   编号（唯一标识）
        /// </summary>
        public string? Menu_Code { get; set; }
        /// <summary>
        ///   菜单名称
        /// </summary>
        public string? Menu_Name { get; set; }
        /// <summary>
        ///   父级菜单
        /// </summary>
        public string? Parent_Menu { get; set; }
        /// <summary>
        ///   类型（页面/Ajax请求/对话框等）
        /// </summary>
        public string? Type { get; set; }
        /// <summary>
        ///   样式（图标类名）
        /// </summary>
        public string? Style { get; set; }
        /// <summary>
        ///   排序
        /// </summary>
        public int? Sort { get; set; }
        /// <summary>
        ///   路径
        /// </summary>
        public string? Path { get; set; }
        /// <summary>
        ///   创建时间
        /// </summary>
        public DateTime? Created_At { get; set; }

    }
}
